Serial Timeouts and Retry Guidance
Recommended values:
- Frame header read timeout:
3 s - Frame payload read timeout:
5 s - Initial command response timeout:
30 s /check polling interval: 1000-2000 ms
Retry guidance:
- If client did not receive response frame, operation state is unknown.
- If CRC check fails on a received frame, treat response as not received.
- Recover financial flow state via
/check using the same pay_id. - Do not blindly resend
/confirm and /cancel on timeout. - For
/sale and /refund, prefer /check-based recovery before retrying.